<div class='fui-page fui-page-current'>
    <div class="fui-header">
        <div class="fui-header-left" onclick="window.history.go(-1);">
            <a class="back"></a>
        </div>
        <div class="title">签到记录</div>
        <div class="fui-header-right">
            <a href="javascript:;" ng-click="access_json('core/member.home/')" class="external">
                <i class="icon icon-home"></i>
            </a>
        </div>
    </div>
    <div class='fui-content navbar'>
        <div class="content-empty" style="margin: 0; padding: 0; position: relative;" ng-if="!pagedata.list">
            <i class="icon icon-information"></i>
            <center style="color: #888">未找到签到记录~</center>
        </div>
        <div class="fui-list-group noborder nomargin container" ng-if="pagedata.list">
			<div class="fui-list" ng-repeat="item in pagedata.list">
                <div class="fui-list-inner">
                    <div class="text">
                        <span class="fui-label fui-label-success">正常签到</span>
                        <span class="fui-label fui-label-success">{{item.createtime}}</span>
                    </div>
                </div>
                <div class="fui-list-angle text-danger"></div>
            </div>
		</div>
    </div>
</div>
<script>
window.scope.pagedata.get_more_data=function(callback){
	window.scope.pagedata.page=window.scope.pagedata.page+1;
	window.scope.post({},'get','page='+window.scope.pagedata.page,function(res){
		if(res.length>0){
			angular.forEach(res,function(row,index){
				window.scope.pagedata.list.push(row);
			});
		}
		if(res.length<window.scope.pagedata.psize){
			var isall=true;
		}else{
			var isall=false;
		}
		callback(isall);
	});
}
</script>